package com.systop.busafter.driver.service;
import com.systop.commer.pojo.Driver;
import java.util.List;

public interface DriverService {
    /*
     * 修改driver
     * driver driver
     * return int
     * csh
     *
     * */
    int updatadriver(Driver driver);

    /*
     * 添加driver
     * driver driver
     * return int
     * csh
     *
     * */
    int insertdriver(Driver driver);

    /*
     * 登陆(账号密码)
     * driver driver
     * driver driver
     * csh
     * */
    Driver driverLogin(Driver driver);

    /*
     * 登陆(手机密码)
     * driver driver
     * driver driver
     * csh
     * */
    Driver numdriverLogin(Driver driver);
    /*
     * 查看全部
     * 无
     * list
     * csh
     * */
    List<Driver> driverListall();

    /*
     * 用id查看driver
     * driver_id  int
     * list
     * csh
     * */
    List<Driver> driverIdlist(int driver_id);

    /*
     * 删除driver
     * driver_id  int
     * return int
     * csh
     * */
    int deletedriver(int driver_id);

    /*
     * 用分数查看driver
     * driver_fraction  int
     * list
     * csh
     * */
    List<Driver> driverFractionlist(int driver_fraction);

    /*
     * 用状态查看driver
     * driver_state  int
     * list
     * csh
     * */
    List<Driver> driverStatelist(int driver_state);

    /*
     * 用押金查看driver
     * driver_deposit  float
     * list
     * csh
     * */
    List<Driver> driverDepositlist(float driver_deposit);

    /*
     * 用名字查看driver
     * driver_name  String
     * list
     * csh
     * */
    List<Driver> driverNamelist(String driver_name);

    /*
     * 用账号查看driver
     * driver_name_n  String
     * list
     * */

    List<Driver> drivername(String driver_name_n);

    Driver drivername1(String driver_name_n);

    /*
     * 用身份证号查看driver
     * driver_card  String
     * list
     * */

    List<Driver> drivercard(String driver_card);


}
